package com.mskj.p3.service;

import java.util.List;

import com.mskj.p3.model.Blog;
import com.mskj.p3.model.BlogSet;
import com.mskj.p3.model.Hobby;
import com.mskj.p3.model.PageBean;
import com.mskj.p3.model.User;

public interface BlogService {
	boolean postBlog(User user,Blog b,Hobby hobby);
	boolean deleteBlog(User user,Blog b);
	//根据user的hid来查询出相对应的博文
	List<BlogSet> queryBlogSet(User user,PageBean pb);
	List<BlogSet> queryMyBlogSet(User user,PageBean pb);
}
